Skip to content

bpo-40600: atexit only loads single time per interpreter#23699

Closed
corona10 wants to merge 5 commits into
python:masterfrom
corona10:bpo-40600-iss
Closed

bpo-40600: atexit only loads single time per interpreter#23699
corona10 wants to merge 5 commits into
python:masterfrom
corona10:bpo-40600-iss

Conversation

@corona10
Copy link
Copy Markdown
Member

@corona10 corona10 commented Dec 8, 2020

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer to move the atexit list of callbacks into PyInterpreterState, and the atexit module would get the list from the current interpreter.

@bedevere-bot
Copy link
Copy Markdown

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

And if you don't make the requested changes, you will be put in the comfy chair!

@corona10
Copy link
Copy Markdown
Member Author

corona10 commented Dec 8, 2020

@vstinner Ah okay, I will update the PR by tomorrow ;)

@corona10 corona10 force-pushed the bpo-40600-iss branch 2 times, most recently from d9bee4e to 9c4d2b0 Compare December 10, 2020 17:02
@corona10
Copy link
Copy Markdown
Member Author

I have made the requested changes; please review again

@bedevere-bot
Copy link
Copy Markdown

Thanks for making the requested changes!

@vstinner: please review the changes made to this pull request.

@corona10 corona10 changed the title bpo-40600: atexit only loads sinle time per interpreter bpo-40600: atexit only loads single time per interpreter Dec 10, 2020
@encukou
Copy link
Copy Markdown
Member

encukou commented Dec 15, 2020

This is solved in a different way in bpo-42639.
Thank you for working on this issue, even though this PR didn't make it in!

@encukou encukou closed this Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants